export function login () {
    return uni.flux.axiosInstance.post('internal/user/v1/login', {
        username: 'admin',
        password: 'e10adc3949ba59abbe56e057f20f883e'
    }).then((res) => {
        if (res) {
            uni.setStorageSync('APP_TOKEN', res.data.token)
            return Promise.resolve(res.data)
        }
    })
}
export function index (param) {
    console.log(param, '54444')
    return uni.flux.axiosInstance.post('/index', param).then((res) => {
        if (res) {
            return Promise.resolve(res.data)
        }
    })
}
